Packetery\Module\Checkout\CartService A

Total Complexity 59
Dependencies 8
Dependents 8
Total lines 297
Lines of code 207
Logical lines of code 114
Comment lines 15
Methods 10
Properties 5

Methods 10

Method Rating Maintainability Complexity Lines of code
cartContainsProductOversizedForCarrier()
A
45 16 43
getBiggestProductSize()
A
43 11 52
getTaxClassWithMaxRate()
A
47 10 36
isShippingRateRestrictedByProductsCategory()
S
52 7 23
isAgeVerificationRequired()
S
60 5 13
getDisallowedShippingRateIds()
S
61 3 12
getCartWeightKg()
S
63 3 11
getTotalCartProductValue()
S
68 2 7
__construct()
S
69 1 7
getCartContentsTotalIncludingTax()
S
80 1 3